package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_CompanyAccountTransferItem", catalog="Id")
public class TcwCompanyAccountTransferItem extends BaseEntity<TcwCompanyAccountTransferItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="FinanceCode", nameJava="financeCode", typeDataBase="varchar")
	private String financeCode;
	@YsField(nameDataBase="AccountDetailedForCompanyId", nameJava="accountDetailedForCompanyId", typeDataBase="bigint")
	private Long accountDetailedForCompanyId;
	@YsField(nameDataBase="VidOut", nameJava="vidOut", typeDataBase="varchar")
	private String vidOut;
	@YsField(nameDataBase="VyhzhmcOut", nameJava="vyhzhmcOut", typeDataBase="varchar")
	private String vyhzhmcOut;
	@YsField(nameDataBase="VkhhOut", nameJava="vkhhOut", typeDataBase="varchar")
	private String vkhhOut;
	@YsField(nameDataBase="VyhzhOut", nameJava="vyhzhOut", typeDataBase="varchar")
	private String vyhzhOut;
	@YsField(nameDataBase="VidIn", nameJava="vidIn", typeDataBase="varchar")
	private String vidIn;
	@YsField(nameDataBase="VyhzhmcIn", nameJava="vyhzhmcIn", typeDataBase="varchar")
	private String vyhzhmcIn;
	@YsField(nameDataBase="VkhhIn", nameJava="vkhhIn", typeDataBase="varchar")
	private String vkhhIn;
	@YsField(nameDataBase="VyhzhIn", nameJava="vyhzhIn", typeDataBase="varchar")
	private String vyhzhIn;
	@YsField(nameDataBase="BaseInfoType", nameJava="baseInfoType", typeDataBase="varchar")
	private String baseInfoType;
	@YsField(nameDataBase="Amount", nameJava="amount", typeDataBase="decimal")
	private BigDecimal amount;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwCompanyAccountTransferItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwCompanyAccountTransferItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public String getFinanceCode() {
		return financeCode;
	}
	public TcwCompanyAccountTransferItem setFinanceCode(String financeCode) {
		this.financeCode = financeCode;
		return this;
	}
	public Long getAccountDetailedForCompanyId() {
		return accountDetailedForCompanyId;
	}
	public TcwCompanyAccountTransferItem setAccountDetailedForCompanyId(Long accountDetailedForCompanyId) {
		this.accountDetailedForCompanyId = accountDetailedForCompanyId;
		return this;
	}
	public String getVidOut() {
		return vidOut;
	}
	public TcwCompanyAccountTransferItem setVidOut(String vidOut) {
		this.vidOut = vidOut;
		return this;
	}
	public String getVyhzhmcOut() {
		return vyhzhmcOut;
	}
	public TcwCompanyAccountTransferItem setVyhzhmcOut(String vyhzhmcOut) {
		this.vyhzhmcOut = vyhzhmcOut;
		return this;
	}
	public String getVkhhOut() {
		return vkhhOut;
	}
	public TcwCompanyAccountTransferItem setVkhhOut(String vkhhOut) {
		this.vkhhOut = vkhhOut;
		return this;
	}
	public String getVyhzhOut() {
		return vyhzhOut;
	}
	public TcwCompanyAccountTransferItem setVyhzhOut(String vyhzhOut) {
		this.vyhzhOut = vyhzhOut;
		return this;
	}
	public String getVidIn() {
		return vidIn;
	}
	public TcwCompanyAccountTransferItem setVidIn(String vidIn) {
		this.vidIn = vidIn;
		return this;
	}
	public String getVyhzhmcIn() {
		return vyhzhmcIn;
	}
	public TcwCompanyAccountTransferItem setVyhzhmcIn(String vyhzhmcIn) {
		this.vyhzhmcIn = vyhzhmcIn;
		return this;
	}
	public String getVkhhIn() {
		return vkhhIn;
	}
	public TcwCompanyAccountTransferItem setVkhhIn(String vkhhIn) {
		this.vkhhIn = vkhhIn;
		return this;
	}
	public String getVyhzhIn() {
		return vyhzhIn;
	}
	public TcwCompanyAccountTransferItem setVyhzhIn(String vyhzhIn) {
		this.vyhzhIn = vyhzhIn;
		return this;
	}
	public String getBaseInfoType() {
		return baseInfoType;
	}
	public TcwCompanyAccountTransferItem setBaseInfoType(String baseInfoType) {
		this.baseInfoType = baseInfoType;
		return this;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public TcwCompanyAccountTransferItem setAmount(BigDecimal amount) {
		this.amount = amount;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwCompanyAccountTransferItem setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwCompanyAccountTransferItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwCompanyAccountTransferItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwCompanyAccountTransferItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwCompanyAccountTransferItem tcwCompanyAccountTransferItem(
		String pbid,
		String financeCode,
		Long accountDetailedForCompanyId,
		String vidOut,
		String vyhzhmcOut,
		String vkhhOut,
		String vyhzhOut,
		String vidIn,
		String vyhzhmcIn,
		String vkhhIn,
		String vyhzhIn,
		String baseInfoType,
		BigDecimal amount,
		String remark,
		Integer status
			) {
		TcwCompanyAccountTransferItem entity = new TcwCompanyAccountTransferItem();
		entity.setPbid(pbid);
		entity.setFinanceCode(financeCode);
		entity.setAccountDetailedForCompanyId(accountDetailedForCompanyId);
		entity.setVidOut(vidOut);
		entity.setVyhzhmcOut(vyhzhmcOut);
		entity.setVkhhOut(vkhhOut);
		entity.setVyhzhOut(vyhzhOut);
		entity.setVidIn(vidIn);
		entity.setVyhzhmcIn(vyhzhmcIn);
		entity.setVkhhIn(vkhhIn);
		entity.setVyhzhIn(vyhzhIn);
		entity.setBaseInfoType(baseInfoType);
		entity.setAmount(amount);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}